<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="/pages/templates/TemplateVisiteur.xhtml">

	<ui:define name="titre">Fun With Videos</ui:define>
	<ui:define name="content">
	 <h:head>  
    </h:head>  
    <h:body>
		<h:form>
		<fieldset class="fsPrincipal"><legend><strong>Vos Coordonnées</strong></legend> <br />
			<div>
			<table>
				<tr>
					<td><span>Nom :</span></td>
					<td><h:inputText id="nom" styleclass="box"
						value="#{mbInscription.nom}" required="true" requiredMessage="nom manquant"  />
						<h:message for="nom" /></td>
				</tr>
				<tr>
					<td><span>Prénom :</span></td>
					<td><h:inputText id="prenom" styleclass="box"
						value="#{mbInscription.prenom}" required="true" requiredMessage="prénom manquant" />
						<h:message for="prenom" /></td>
				</tr>
				<tr>
					<td><span>Date de naissance :</span></td>
					<td><p:calendar value="#{mbInscription.dateNaissance}" navigator="true" display="inline" styleClass="box" />
						</td>
				</tr>
				<tr>
					<td><span>Adresse :</span></td>
					<td><h:inputText id="adresse" styleclass="box"
						value="#{mbInscription.adresse}" required="true" requiredMessage="adresse manquante" />
						<h:message for="adresse" /></td>
				</tr>
				<tr>
					<td><span>Ville :</span></td>
					<td><h:inputText id="ville" styleclass="box"
						value="#{mbInscription.ville}" required="true" requiredMessage="ville manquante" />
						<h:message for="ville" /></td>
				</tr>
				<tr>
					<td><span>Code postal :</span></td>
					<td><h:inputText id="codePostal" styleclass="box"
						value="#{mbInscription.codePostal}" required="true" requiredMessage="code postal manquant" />
						<h:message for="codePostal" /></td>
				</tr>
				<tr>
					<td><span>Email :</span></td>
					<td><h:inputText id="email" styleclass="box"
						value="#{mbInscription.mailClient}" required="true" requiredMessage="email manquant"  />
						<h:message for="email" /></td>
				</tr>
								<tr>
					<td><span>Confirmation email :</span></td>
					<td><h:inputText styleclass="box"
						value="#{mbInscription.email}"  /></td>
				</tr>
								<tr>
					<td><span>Mot de passe :</span></td>
					<td><h:inputText id="passWord" styleclass="box"
						value="#{mbInscription.passClient}" required="true" requiredMessage="mot de passe manquant" />
						<h:message for="passWord" /></td>
				</tr>
								<tr>
					<td><span>Confirmation mot de passe :</span></td>
					<td><h:inputText styleclass="box"
						value="#{mbInscription.passWord}" /></td>
				</tr>
			</table>
			</div>
			</fieldset>
			<div class="divBtn"><h:commandButton
				action="#{mbInscription.enregistrer}" value="Valider" class="btn" />
			</div>
			<br />
			<h:outputLabel value="#{mbInscription.label}"/>
		</h:form>
		</h:body>
	</ui:define>
</ui:composition>
